package com.talent.service.iot.mqtt.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName：TlMqttConfig
 * @Author: hszhou
 * @Date: 2024/12/31 10:02
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@ConfigurationProperties(prefix = "mqtt")
@Component
public class TlMqttProperties {

    private TlSessionProperties session; ;

    private TlPortProperties port;

    public TlSessionProperties getSession() {
        return session;
    }

    public void setSession(TlSessionProperties session) {
        this.session = session;
    }

    public TlPortProperties getPort() {
        return port;
    }

    public void setPort(TlPortProperties port) {
        this.port = port;
    }
}
